package com.foldingleaf.withdraw.service;

import java.util.List;
import com.foldingleaf.withdraw.domain.WithdrawRecord;

/**
 * 提现记录Service接口
 * 
 * @author ajian
 * @date 2022-06-22
 */
public interface IWithdrawRecordService 
{
    /**
     * 查询提现记录
     * 
     * @param recordId 提现记录主键
     * @return 提现记录
     */
    public WithdrawRecord selectWithdrawRecordByRecordId(Long recordId);

    /**
     * 查询提现记录列表
     * 
     * @param withdrawRecord 提现记录
     * @return 提现记录集合
     */
    public List<WithdrawRecord> selectWithdrawRecordList(WithdrawRecord withdrawRecord);

    /**
     * 新增提现记录
     * 
     * @param withdrawRecord 提现记录
     * @return 结果
     */
    public int insertWithdrawRecord(WithdrawRecord withdrawRecord);

    /**
     * 修改提现记录
     * 
     * @param withdrawRecord 提现记录
     * @return 结果
     */
    public int updateWithdrawRecord(WithdrawRecord withdrawRecord);

    /**
     * 批量删除提现记录
     * 
     * @param recordIds 需要删除的提现记录主键集合
     * @return 结果
     */
    public int deleteWithdrawRecordByRecordIds(Long[] recordIds);

    /**
     * 删除提现记录信息
     * 
     * @param recordId 提现记录主键
     * @return 结果
     */
    public int deleteWithdrawRecordByRecordId(Long recordId);
}
